#!/bin/bash - 

case $1 in
  sql)

    echo "Running mysql backup using mysqldump tool..."
    # Running the backup command or script.
    ;;

  sync)
    echo "Running backup using rsync tool..."
    # Running the backup command or script.
    ;;

  snap)

    echo "Running snapshot backup on storage..."
    # Running snapshot backup command.
    ;;

  *)

    echo "Backup utility"
    echo "Usage: `basename $0` {sql|sync|snap}"
    echo "       sql  : Run MySQL backup utility."
    echo "       sync : Run web server backup utility."
    echo "       snap : Run snapshot backup utility."
    ;;

esac